* { 
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

body {
    width: 80%;
    margin: 1px auto 0;
}

table, table td, table th {
    border: 1px solid #000099;
    border-collapse: collapse;
}

table.borderless, table.borderless td, table.borderless th {
    border: 0;
    border-collapse: collapse;
}

table td, table th { padding: 2px; }

span.error {
    border: 1px solid #ff0000;
    padding: 3px;
    margin: 5px auto;
    font-size: smaller;
    font-weight: bolder;
    background-color: #ffcccc;
    color: #ff0000;
    display: block;
    width: 50%;
}

span.success {
    border: 1px solid #009900;
    padding: 3px;
    margin: 5px auto;
    font-size: smaller;
    font-weight: bolder;
    background-color: #ccffcc;
    color: #009900;
    display: block;
    width: 50%;
}

span.notice {
    border: 1px solid #000099;
    padding: 3px;
    margin: 5px auto;
    font-size: smaller;
    font-weight: bolder;
    background-color: #ccccff;
    color: #000099;
    display: block;
    width: 50%;
}

input[type="submit"] {
    border-width: 1px;
    border-color: #cccccc;
    border-radius: 5px;
    padding: 3px;
}

span.welcome {
    font-size: 0.825em;
    float: right;
}

span.explain {
    font-size: 0.75em;
    color: #999999;
    font-style: italic;
}

div.error_welcome {
    display: block;
    min-height: 25px;
}

p.footer_note {
    text-align: center;
    font-size: 0.7em;
}

div.onibus, div.legenda {
    width: 50%;
    float: left;
}

div.legenda {
    display: block;
    height: 200px;
}

table.onibus {
    border: 1px solid #999999;
    border-collapse: collapse;
}

table.onibus td {
    border-color: #999999;
    width: 30px;
    height: 30px;
    text-align: center;
}

table.onibus td a {
    text-decoration: none;
}

tr.corredor, tr.corredor td {
    border-left: 2px;
    border-right: 2px;
    border-right-color: white;
    border-left-color: white;
}

td.vago {
    background-color: #cccccc;
}

td.ocupado {
    background-color: #ff0000;
}

td.selecionado {
    background-color: #009900;
}

ul ul li {
    margin-left: 35px;
}

table#tipo_pagamento {
    display: inline-block;
}

table#dados_cartao {
    display: inline-block;
    margin-left: 30px;
    border: 1px solid #999999;
    padding: 5px;
}

table#dados_cartao tr {
    height: 35px;
}

p.confirmacao_de_compra {
    color: forestgreen;
}